package com.mo.tools.log.oplog;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 操作类型
 */
@AllArgsConstructor
@Getter
public enum OperationType {
    DEFAULT("DEFAULT", ""), //默认，使用content作为内容
    ADD("ADD", "添加"),
    DEL("DEL", "删除"),
    UPDATE("UPDATE", "修改"),
    QUERY("QUERY", "查询"),
    LOGIN("LOGIN", "登录"),
    LOGIN_FAILED("LOGIN_FAILED", "登录失败"),
    LOGOUT("LOGOUT", "登出"),
    DOWNLOAD("DOWNLOAD", "下载"),
    UPLOAD("UPLOAD", "上传"),
    BACKUP("BACKUP", "备份"),
    RECOVER("RECOVER", "还原"),
    PASS("PASS", "通过"),
    REJECT("REJECT", "驳回"),
    CONFIRM("CONFIRM", "确认"),
    CANCEL("CANCEL", "撤回"),
    ;
    private final String code;
    private final String desc;

}
